﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>购买记录 - ${web.name}${web.additionalTitle!}</title>
    <link href="${root}/css/global.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/layout.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/member.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/buy.css" type="text/css" rel="stylesheet"/>
    <script src="${root}/js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
        function g(o) {
            return document.getElementById(o);
        }
        function HoverLi(m, n, counter) {
            for (var i = 1; i <= counter; i++) {
                g('tb_' + m + i).className = 'dd_normal';
                g('tbc_' + m + i).className = 'undis';
            }
            g('tbc_' + m + n).className = 'dis';
            g('tb_' + m + n).className = 'dd_curr';
        }

    </script>
</head>

<body>
[#include "../include/header_top.html"/]
<div id="head">
    [#include "../include/header_search.html"/]
    [#include "../include/header_nav.html"/]
</div>
<div class="w960 mt10">
    [#include "member_nav.html"/]
    <div class="user_right">
        <div class="usercenter_position">
            <span>购物记录</span>
        </div>
        <div class="right_line">
            <table class="table" cellspacing="0" cellpadding="0" width="100%" border="0">
                <tbody>
                [#if pagination?? && pagination.list?size gt 0]
                [#list pagination.list as p]
                <tr>
                    <td class="td_fav" valign="middle" align="center" width="14%">
                        <a href="${p.product.url}" target="_blank"><img height="55" alt="${p.product.name}"
                                                                        src="${p.product.productExt.coverImg!}"
                                                                        width="55"/></a>
                    </td>
                    <td class="td_fav" valign="middle" align="center" width="21%"><a title="${p.product.name}"
                                                                                     href="${p.product.url}"
                                                                                     target="_blank"
                                                                                     style="color: #653000">${p.product.name}</a>
                    </td>
                    <td class="td_fav" valign="middle" align="center" width="20%">成交价：<span id="THIS_PRICE_30163"
                                                                                            style="color: #653000">${p.salePrice!0}元</span><span></span>
                    </td>
                    <td class="td_fav" valign="middle" align="center" width="20%">数量：<span id="THIS_PRICE_30163"
                                                                                           style="color: #653000">${p.count!0}</span>
                    </td>
                    <td class="td_fav" valign="middle" align="center" style="text-align: center">购买时间
                        <div class="list" style="position: relative">${p.ordeR.createTime}</div>
                    </td>
                    <!-- <td class="td_fav" valign="middle" align="center" width="17%"><a href="javascript:if (confirm('您确定要从收藏夹中删除选定的玩物吗？')) del(${p.id})" style="color: #653000">删除</a></td> -->
                </tr>
                [/#list]
                [#else]
                <tr>
                    <td colspan="6">暂无购买记录</td>
                </tr>
                [/#if]
                </tbody>
            </table>
            [@pagination_style style='10'][/@pagination_style]
        </div>
    </div>
    <div class="clear"></div>
</div>
[#include "../include/footer.html"/]
</body>
</html>
